# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=plattenalbum
pkgver=2.2.1
pkgrel=0
pkgdesc="Browse music with MPD"
url="https://github.com/SoongNoonien/plattenalbum"
arch="noarch"
license="GPL-3.0-only"
depends="
	gettext
	libadwaita
	py3-gobject3
	py3-mpd2
	python3
	"
makedepends="
	desktop-file-utils
	glib-dev
	gtk-update-icon-cache
	meson
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/SoongNoonien/plattenalbum/archive/refs/tags/v$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	meson install --no-rebuild --destdir "$pkgdir" -C output
}

sha512sums="
e35d9614f40921694a17e47ccf971afe8dbc0312815ccb23b1ed638de561028d2b1ad9d6d94f2249008b6ff29a2fc58b33a798934b1dbe110a1c14aed83f9f89  plattenalbum-2.2.1.tar.gz
"
